<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h3>人的对象</h3>
		<script type="text/javascript">
			var person = {
				firstName:"何",
				lastName:"晨光",
				age:23,
				fullName : function(){
					return this.firstName+this.lastName;
				}
			};
			console.log(person)
			console.log(person.age)
			console.log(person.fullName())
			person.address = "毕节";
			person.fullName2 = function(){
				return person.lastName+person.firstName;
			}
			console.log(person.fullName2())
			
			
			
		</script>
	</body>
</html>
